package com.itboy.mall.pms.product.web;

import com.itboy.mall.ums.member.domain.MallMember;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpSession;

@Controller
@RequestMapping("/web")
public class CartController {

	@GetMapping(value = {"/cartList.html"})
	public String indexPage(Model model,HttpSession session){
		MallMember loginUser = (MallMember) session.getAttribute("loginUser");
		System.out.println(loginUser);
		return  "cartList";
	}
}
